<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="personDetail.title"/></title>
<content tag="heading"><fmt:message key="personDetail.heading"/></content>

<spring:bind path="person.*">
    <c:if test="${not empty status.errorMessages}">
    <div class="error">
        <c:forEach var="error" items="${status.errorMessages}">
            <img src="<c:url value="/images/iconWarning.gif"/>"
                alt="<fmt:message key="icon.warning"/>" class="icon" />
            ${error}<br />
        </c:forEach>
    </div>
    </c:if>
</spring:bind>
<c:choose>
<c:when test="${param.passKey ne null}">
	<c:import url="personFormCommonRestricted.jsp"/>
</c:when>
<c:otherwise>
	<c:import url="personFormCommon.jsp"/>
</c:otherwise>
</c:choose>
<script type="text/javascript">
    Form.focusFirstElement($('personForm'));
</script>

<v:javascript formName="person" cdata="false" dynamicJavascript="true" staticJavascript="false"/>
<script type="text/javascript"  src="<c:url value="/scripts/validator.jsp"/>"></script>
